package com.zuo.mapper;

import com.zuo.entity.Staff;

import java.util.List;
import java.util.Map;

/**
 * @Author 白白旧维
 * @Date 2022/3/3 10:15
 */
public interface EmployeeMapper {

    List<Staff> listStaff();

    List<Staff> searchStaff(Map<String,Object> map);

    Staff getOne(int id);

    int updateStaff(Staff staff);

    int removeStaff(int id);

    int addStaff(Staff staff);

}
